
namespace ZR.Model.FacManage.Dto
{
    /// <summary>
    /// 产线管理查询对象
    /// </summary>
    public class FacLineQueryDto : PagerInfo 
    {
        /// <summary>
        /// 产线编码 
        /// </summary>
        public string LineCode { get; set; }

        /// <summary>
        /// 产线名称 
        /// </summary>
        public string LineName { get; set; }

        /// <summary>
        /// 所属车间id 
        /// </summary>
        public string WorkshopId { get; set; }
    }

    /// <summary>
    /// 产线管理输入输出对象
    /// </summary>
    public class FacLineDto
    {
        /// <summary>
        /// 产线Id 
        /// </summary>
        [Required(ErrorMessage = "产线Id不能为空")]
        public string LineId { get; set; }

        /// <summary>
        /// 产线编码 
        /// </summary>
        [Required(ErrorMessage = "产线编码不能为空")]
        public string LineCode { get; set; }

        /// <summary>
        /// 产线名称 
        /// </summary>
        [Required(ErrorMessage = "产线名称不能为空")]
        public string LineName { get; set; }

        /// <summary>
        /// 所属车间id 
        /// </summary>
        [Required(ErrorMessage = "所属车间不能为空")]
        public string WorkshopId { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 车间描述信息
        /// </summary>
        public string WorkshopInfo { get; set; }

        /// <summary>
        /// 工厂描述信息
        /// </summary>
        public string FactoryInfo { get; set; }
    }
}